package com.dao;

import java.util.List;
import com.pojo.UrlFilter;

public interface UrlFilterMapper {
	
	int getCount();

	/**
	 * 分页查询
	 * 
	 * @param page
	 *            从第几个数
	 * @param groups
	 *            连续查询几个
	 * @return
	 */
	List<UrlFilter> getUrlFilters(int page, int groups);

	List<UrlFilter> geturlFilters();

	void addurlFilter(UrlFilter urlFilter);

	void deleteurlFilter(int id);

	UrlFilter getUrlFilterByid(int id);

	void updateUrlFilter(UrlFilter urlFilter);
}
